package com.hncc.dms.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 成药药品模版管理对象 dms_medicine_model_item
 * 
 * @author ruoyi
 * @date 2020-08-25
 */
@ApiModel(value = "成药药品模版管理实体")
public class DmsMedicineModelItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty(value = "ID",required = false)
    private Long id;

    /** 模板ID */
    @ApiModelProperty(value = "模板ID",required = false)
    private Long modelId;

    /** 状态 */
    @ApiModelProperty(value = "状态",required = false)
    private Integer status;

    /** 药品ID */
    @ApiModelProperty(value = "药品ID",required = false)
    private Long drugId;

    /** 药品用法 */
    @ApiModelProperty(value = "药品用法",required = false)
    private Integer medicineUsage;

    /** 频次 */
    @ApiModelProperty(value = "频次",required = false)
    @Excel(name = "频次")
    private Integer frequency;

    /** 天数 */
    @ApiModelProperty(value = "天数",required = false)
    @Excel(name = "天数")
    private Long days;

    /** 数量 */
    @ApiModelProperty(value = "数量",required = false)
    @Excel(name = "数量")
    private Long num;

    /** 使用建议 */
    @ApiModelProperty(value = "使用建议",required = false)
    @Excel(name = "使用建议")
    private String medicalAdvice;

    /** 用量 */
    @ApiModelProperty(value = "用量",required = false)
    @Excel(name = "用量")
    private Long usageNum;

    /** 使用方法 */
    @ApiModelProperty(value = "使用方法",required = false)
    private Integer usageMeans;

    /** 单位 */
    @ApiModelProperty(value = "单位",required = false)
    @Excel(name = "单位")
    private Integer usageNumUnit;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setModelId(Long modelId) 
    {
        this.modelId = modelId;
    }

    public Long getModelId() 
    {
        return modelId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDrugId(Long drugId) 
    {
        this.drugId = drugId;
    }

    public Long getDrugId() 
    {
        return drugId;
    }
    public void setMedicineUsage(Integer medicineUsage) 
    {
        this.medicineUsage = medicineUsage;
    }

    public Integer getMedicineUsage() 
    {
        return medicineUsage;
    }
    public void setFrequency(Integer frequency) 
    {
        this.frequency = frequency;
    }

    public Integer getFrequency() 
    {
        return frequency;
    }
    public void setDays(Long days) 
    {
        this.days = days;
    }

    public Long getDays() 
    {
        return days;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }
    public void setMedicalAdvice(String medicalAdvice) 
    {
        this.medicalAdvice = medicalAdvice;
    }

    public String getMedicalAdvice() 
    {
        return medicalAdvice;
    }
    public void setUsageNum(Long usageNum) 
    {
        this.usageNum = usageNum;
    }

    public Long getUsageNum() 
    {
        return usageNum;
    }
    public void setUsageMeans(Integer usageMeans) 
    {
        this.usageMeans = usageMeans;
    }

    public Integer getUsageMeans() 
    {
        return usageMeans;
    }
    public void setUsageNumUnit(Integer usageNumUnit) 
    {
        this.usageNumUnit = usageNumUnit;
    }

    public Integer getUsageNumUnit() 
    {
        return usageNumUnit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("modelId", getModelId())
            .append("status", getStatus())
            .append("drugId", getDrugId())
            .append("medicineUsage", getMedicineUsage())
            .append("frequency", getFrequency())
            .append("days", getDays())
            .append("num", getNum())
            .append("medicalAdvice", getMedicalAdvice())
            .append("usageNum", getUsageNum())
            .append("usageMeans", getUsageMeans())
            .append("usageNumUnit", getUsageNumUnit())
            .toString();
    }
}
